<?php

/**
 * Class YRegionAction
 */
class YRegionAction extends CAction
{
	public function run($parent)
	{
		header('Content-Type: text/json');
		echo Yii::app()->region->getJson($parent);
		Yii::app()->end();
	}
}